package com.zt.ztzx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zt.ztzx.mapper.DeviceTypeMapper;
import com.zt.ztzx.model.entity.device.DeviceType;
import com.zt.ztzx.model.vo.common.Result;
import com.zt.ztzx.service.DeviceTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 16236
* @description 针对表【t_device_type】的数据库操作Service实现
* @createDate 2024-09-05 09:27:37
*/
@Service
public class DeviceTypeServiceImpl extends ServiceImpl<DeviceTypeMapper, DeviceType>
    implements DeviceTypeService {

    @Autowired
    private DeviceTypeMapper deviceTypeMapper;
    @Override
    public Result<List<DeviceType>> getDeviceTypeList(Integer tid) {
        List<DeviceType> list = this.list();
        return Result.build(list,200,"查询成功");
    }
}




